package com.b2c.product.service;

import com.b2c.product.pojo.dto.SpecGroupDto;
import com.b2c.product.pojo.entity.SpecGroup;
import com.baomidou.mybatisplus.extension.service.IService;
import content.enumeration.DeletedStatus;
import result.Result;

import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【mall_spec_group(品类表)】的数据库操作Service
* @createDate 2024-03-20 17:29:59
*/
public interface SpecGroupService extends IService<SpecGroup> {

    Result queryById(Integer id);

    Result getAll();

    Result updateStatus(DeletedStatus status,Integer specGroupId);

    Result insert(@Valid SpecGroupDto specGroupDto);

    Result getAllSpecGroup();
}
